package shejimoshi.observer1;

import java.util.Observable;

public class GuPiao extends Observable {
    private  double price;
    public void setPrice(double price) {
        this.price = price;
        setChanged();
        notifyObservers(price);
    }
}
